package com.four.service;
/*
 * @author 王玉柱
 * @date 2021年10月25日 10:49
 */

import com.four.pojo.*;

import java.util.List;

public interface IMemberService {
    List<OurMember> selectAll();

    Member selectOne(int id);

    List<MemberCar> selectOne1(Integer id);

    List<Card> selectOne2(Integer id);

    List<Gift> selectOne3(Integer id);

    List<GiftDetails> selectOneGift(Integer id);

    List<Orders> selectOneMemberOrder(Integer id);

    int addOneMember(AddMember addMember);

    int addOneMemberCar(AddMember addMember);

    Member findOneMember(String parameter);

    List<Orders> findOneMemberOrders(Integer mid);

    List<Iintegrals> findOneMemberIintegrals(Integer mid);

    int updateOneMemberController(Member member);

    int add_Car(MemberCar car);

    MemberCar toEdit_Car(Integer cid);

    int edit_Car(MemberCar memberCar);

    int del_Car(int cid);

    List<Staff> selectOne5();

    int add_Pcard(Card card);

    Card selectOne6(int id);

    int pcard_Upgrade(Card card);

    int pcard_Recharge(Card card);

    int pcard_delete(int id);

    int add_Ycard(Card card);

    int add_Spree(Gift gift);

    int add_GiftDetails1(GiftDetails giftDetails);

    int add_GiftDetails2(GiftDetails giftDetails);

    int add_GiftDetails3(GiftDetails giftDetails);
}
